//
//  AddConsigneeView.m
//  ProjectforHDX
//
//  Created by Jaesun on 16/8/1.
//  Copyright © 2016年 H.DX. All rights reserved.
//

#import "AddConsigneeView.h"

@implementation AddConsigneeView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self s_setupViews];
    }
    return  self;
}
- (void)s_setupViews {
    
    self.addConsigneeBtn = [[RZCustomButtom alloc] initWithFrame:CGRectMake(self.width * 0.25, 10, self.width / 2, 30)];
    self.addConsigneeBtn.titleLabel.font = CustomFont(13);
    [self.addConsigneeBtn setTitle:[UtilCheck language:@"setting.addConsignee"] forState:(UIControlStateNormal)];
    self.addConsigneeBtn.backgroundColor = SYSTEM_COLOR;
    self.addConsigneeBtn.layer.cornerRadius = 5;
    [self.addConsigneeBtn addTarget:self action:@selector(touchAddConsigneeBtn:) forControlEvents:(UIControlEventTouchUpInside)];
    [self addSubview:self.addConsigneeBtn];
}

- (void)touchAddConsigneeBtn:(RZCustomButtom *)sender {
    _addConsigneeBlock();
}


@end
